package org.skydiveapplibrary.ui;

import org.skydiveapplibrary.util.CalculatorType;

import android.content.Context;

public class CalculatorTypeAdapter extends BaseSpinnerAdapter<CalculatorType>
{
	public CalculatorTypeAdapter(Context context)
	{
		super(context, CalculatorType.getItems());
	}

	@Override
	protected String getText(CalculatorType item)
	{
		return getContext().getString(item.getResourceId());
	}
}
